package headfirst.builder;

/**
 * @author lxiaol
 * @date 2021年07月14日 14:31
 */
public class Client {
    public static void main(String[] args) {
        Builder builder = new ConcreteBuilder();

        Director director = new Director(builder);

        director.construct();

        Product product = builder.retrieveResult();

        System.out.println(product.getPart1());
        System.out.println(product.getPart2());

    }


}
